package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.Date;
import java.util.List;

import com.neusoft.neuiotms.dcam.fixed.dto.AssetCodeRuleDTO;

public interface AssetCodeRuleService {

    AssetCodeRuleDTO details(Long id);

    AssetCodeRuleDTO update(Long id, AssetCodeRuleDTO dto);

    AssetCodeRuleDTO create(AssetCodeRuleDTO dto);

    void delete(Long id);

    List<AssetCodeRuleDTO> findAll();

    String generateAssetCode(String orgCode, String locationCode, String assetTypeCode);

    String generateAssetCode(String belongs, String assetTypeCode, Date purchaseDate, String categories);
}
